<template>
  <div class="container">
    <div class="content">
      <div class="center">我是中间</div>
    </div>
    <div class="left">我是左边</div>
    <div class="right">我是右边</div>
  </div>
</template>

<style scoped>
.container {
  overflow: hidden;
}
.content,
.left,
.right {
  float: left;
}

.content {
  width: 100%;
  background-color: pink;
}

.left {
  width: 200px;
  margin-left: -100%;
  background-color: deeppink;
}
.right {
  width: 200px;
  margin-left: -200px;
  background-color: hotpink;
}

.center {
  margin-left: 200px;
  margin-right: 200px;
}
</style>
